Skip to content

Be more robust in case kubectl fails #8712

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 10, 2022
Merged

Be more robust in case kubectl fails #8712

merged 1 commit into from
Mar 10, 2022

Conversation

meysholdt
Copy link
Member

Description

If kubectl get pods fails while polling the state, keep polling instead of failing.
This error occurred during a load test: https://werft.gitpod-dev.com/job/gitpod-build-lod-with-vm-4.0/raw

Related Issue(s)

Fixes #

How to test

Potentially only reproducible during load test.

Release Notes

NONE

Documentation

ArthurSens
ArthurSens previously approved these changes Mar 10, 2022
@ArthurSens
Copy link
Contributor

ArthurSens commented Mar 10, 2022

/werft run

👍 started the job as gitpod-build-me-kubectlerror.0

@ArthurSens
Copy link
Contributor

/hold

Could you rebase now that #8711 was merged?

@meysholdt
Copy link
Member Author

Could you rebase now that #8711 was merged?
done

@codecov
Copy link

codecov bot commented Mar 10, 2022

Codecov Report

Merging #8712 (69d0a75) into main (53668f1) will decrease coverage by 1.13%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #8712      +/-   ##
==========================================
- Coverage   12.31%   11.17%   -1.14%     
==========================================
  Files          20       18       -2     
  Lines        1161      993     -168     
==========================================
- Hits          143      111      -32     
+ Misses       1014      880     -134     
+ Partials        4        2       -2     
Flag Coverage Δ
components-gitpod-cli-app 11.17% <ø> (ø)
components-local-app-app-darwin-amd64 ?
components-local-app-app-darwin-arm64 ?
components-local-app-app-linux-amd64 ?
components-local-app-app-linux-arm64 ?
components-local-app-app-windows-386 ?
components-local-app-app-windows-amd64 ?
components-local-app-app-windows-arm64 ?

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
components/local-app/pkg/auth/auth.go
components/local-app/pkg/auth/pkce.go

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 53668f1...69d0a75. Read the comment docs.

@roboquat roboquat merged commit 0f44fe9 into main Mar 10, 2022
@roboquat roboquat deleted the me/kubectlerror branch March 10, 2022 13:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants